<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>Hello {{username}}</h1>
<a href="/admin/getnewdata/{{ username }}">更新数据</a>
<a href="/admin/usercontrol/{{ username }}">用户管理</a>
<a href="/admin/commentcontrol/{{ username }}">评论管理</a>
<a href="/admin/changedata/{{ username }}">数据修正</a>
<hr>
<a href="/admin/changedata/{{ username }}">{{ filename }}</a><br>
<form method="POST" enctype="multipart/form-data">
    {{ form.csrf_token() }}
    {{ form.file.label }}{{ form.file }}<br>
    {{ form.submit }}<br>
</form>
{% for message in get_flashed_messages() %}
    <small style="color: red">{{ message }}</small>
{% endfor %}<br>
</body>
</html>